﻿using System;

namespace First_space
{
    class Namespace_c1
    {
        public void Func()
        {
            Console.WriteLine("Inside First_space");
        }
    }
}

namespace Second_space
{
    class Namespace_c1
    {
        public void Func()
        {
            Console.WriteLine("Inside Second_space");
        }
    }
}

class TestClass
{
    static void Main(string[] args)
    {
        // 命名空间的用法：
        First_space.Namespace_c1 fc = new First_space.Namespace_c1();
        Second_space.Namespace_c1 sc = new Second_space.Namespace_c1();
        fc.Func();
        sc.Func();
        Console.ReadKey();
    }
}